package org.example.task.service;

import jakarta.validation.Valid;
import org.example.task.model.dto.role.AssignRole;
import org.example.task.model.dto.role.CreateRole;
import org.example.task.model.po.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2025-05-26
 */
public interface IRoleService extends IService<Role> {

    boolean addRole(CreateRole createRole);

    boolean assignRole(AssignRole assignRole);
}
